package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.Brand;
import com.entity.view.BrandView;
import com.entity.vo.BrandVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BrandDao extends BaseMapper<Brand> {
    List<BrandVO> selectListVO(@Param("ew") Wrapper<Brand> wrapper);

    BrandVO selectVO(@Param("ew") Wrapper<Brand> wrapper);

    List<BrandView> selectListView(@Param("ew") Wrapper<Brand> wrapper);

    List<BrandView> selectListView(Pagination page, @Param("ew") Wrapper<Brand> wrapper);

    BrandView selectView(@Param("ew") Wrapper<Brand> wrapper);


}
